<?php

include_once 'common.php';
$sql = "UPDATE `oprec_security_data` SET 	`clientOffice`='{$payload->clientOffice}',`clientGroup`='{$payload->clientGroup}',`passwd`='{$payload->passwd}' WHERE number = {$payload->number}";
$result = exec_sql($sql);
output(['sql' => $sql, 'result' => $result, 'payload' => $payload]);